A, B, C = map(int, input().split())
print("%d"%(0.2*A+0.3*B+0.5*C))